from dataclasses import dataclass
from typing import Callable, Optional

from src.util.config_manager import ConfigManager


@dataclass
class KeyFunc:
    key: str
    func: Optional[Callable[[ConfigManager], None]]
